@import 'variables';

@mixin colorBtn($color) {
  background: $color;

  &:hover {
    color: $color;

    &:before,
    &:after {
      background: $color;
    }
  }
}

.blue-btn {
  @include colorBtn($blue)
}

.light-blue-btn {
  @include colorBtn($light-blue)
}

.red-btn {
  @include colorBtn($red)
}

.pink-btn {
  @include colorBtn($pink)
}

.green-btn {
  @include colorBtn($green)
}

.tiffany-btn {
  @include colorBtn($tiffany)
}

.yellow-btn {
  @include colorBtn($yellow)
}

.pan-btn {
  font-size: 14px;
  color: #fff;
  padding: 14px 36px;
  border-radius: 8px;
  border: none;
  outline: none;
  transition: 600ms ease all;
  position: relative;
  display: inline-block;

  &:hover {
    background: #fff;

    &:before,
    &:after {
      width: 100%;
      transition: 600ms ease all;
    }
  }

  &:before,
  &:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 2px;
    width: 0;
    transition: 400ms ease all;
  }

  &::after {
    right: inherit;
    top: inherit;
    left: 0;
    bottom: 0;
  }
}

.custom-button {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: #fff;
  color: #fff;
  -webkit-appearance: none;
  text-align: center;
  box-sizing: border-box;
  outline: 0;
  margin: 0;
  padding: 10px 15px;
  font-size: 14px;
  border-radius: 4px;
}

.el-button--primary{
  background-color: #006359;
  border-color: #006359;
}
.el-button--primary:hover, .el-button--primary:focus{
  background-color: #008f81;
  border-color: #008f81;
}
.el-button--primary.is-disabled, .el-button--primary.is-disabled:hover, .el-button--primary.is-disabled:focus, .el-button--primary.is-disabled:active{
  background-color: #008f81;
  border-color: #008f81;
}
.el-button--success{
  background-color: #006789;
  border-color: #006789;
}
.el-button--success:hover, .el-button--success:focus{
  background-color: #007ba4;
  border-color: #007ba4;
}
.el-button--success.is-disabled, .el-button--success.is-disabled:hover, .el-button--success.is-disabled:focus, .el-button--success.is-disabled:active{
  background-color: #3a9fc1;
  border-color: #3a9fc1;
}
.el-button--danger{
  background-color: #bf2f2f;
  border-color: #bf2f2f;
}
.el-button--danger:hover, .el-button--danger:focus{
  background-color: #e23535;
  border-color: #e23535;
}
.el-button--danger.is-disabled, .el-button--danger.is-disabled:hover, .el-button--danger.is-disabled:focus, .el-button--danger.is-disabled:active{
  background-color: #f86868;
  border-color: #f86868;
}
.el-button--warning{
  background-color: #c8a139;
  border-color: #c8a139;
}
.el-button--warning:hover, .el-button--warning:focus{
  background-color: #e5b942;
  border-color: #e5b942;
}
.el-button--warning.is-disabled, .el-button--warning.is-disabled:hover, .el-button--warning.is-disabled:focus, .el-button--warning.is-disabled:active{
  background-color: #f2ce6c;
  border-color: #f2ce6c;
}
.el-switch.is-checked .el-switch__core{
  background-color: #21d2c1 !important;
  border-color: #21d2c1 !important;
}
.el-checkbox__input.is-checked .el-checkbox__inner,.el-checkbox__input.is-indeterminate .el-checkbox__inner{
  background-color: #21d2c1 !important;
  border-color: #21d2c1 !important;
}
.el-checkbox__inner:hover,.el-checkbox__input.is-focus .el-checkbox__inner{
  border-color: #21d2c1 !important;
}
.el-button--text{
  color: #00524a;
}
.el-button--text:hover, .el-button--text:focus{
  color: rgb(33, 210, 193);
}